package cn.zwx.order.query.svc.service.impl;

import cn.zwx.order.query.svc.domain.entity.OrderEntity;
import cn.zwx.order.query.svc.mapper.OrderRepository;
import cn.zwx.order.query.svc.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author zhangwenxue
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Resource
    private OrderRepository orderRepository;


    @Override
    public OrderEntity selectByOrderId(String orderId) {
        return orderRepository.selectByOrderId(orderId);
    }
}
